home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / MiniclipsTetris.swf / scripts / DefineButton2_96 / BUTTONCONDACTION on(keyPress Up).as < prev   
Encoding:
Text File  |  2005-08-04  |  137 b   |  8 lines

  1. on(keyPress "<Up>"){
  2.    if(gameRunning and !gamePaused)
  3.    {
  4.       Sounds.gotoAndPlay("Rotate");
  5.       GamePiece.rotate();
  6.    }
  7. }
  8.